package com.sunlands.zlcx.usercenter.service;

import com.sunlands.zlcx.usercenter.domain.AppSystemMessageDO;
import com.sunlands.zlcx.usercenter.repository.AppSystemMessageRepository;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author anjl
 * @date 1:33 PM 2020/9/11
 */
@Service
@Slf4j
public class AppSystemMessageServiceImpl {

    @Transactional
    public AppSystemMessageDO save(AppSystemMessageDO appSystemMessageDO){
        return appSystemMessageRepository.save(appSystemMessageDO);
    }

    @Autowired
    private AppSystemMessageRepository appSystemMessageRepository;


}
